export function quert2String<T>(data: T) {
  return Object.entries(data).map(c => {
    return `${encodeURIComponent(c[0])}=${encodeURIComponent(c[1])}`
  }).join('&')
}